package mr.ali.videoapp.portal.service;

import com.github.pagehelper.PageInfo;
import mr.ali.videoapp.portal.model.CollectionPlayUrl;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-07-18
 */
public interface ICollectionPlayUrlService extends IService<CollectionPlayUrl> {

    PageInfo<CollectionPlayUrl> findAllByOrderLastUrl(Integer pageNum, Integer pageSize , Integer userId );

    Long CountPlayUrlIndex(Integer videoId);

    PageInfo<CollectionPlayUrl> collectionPlayList(Integer pageNum , Integer pageSize ,Integer userId ,Integer videoId);
}
